<template>
    <transition name="fade" mode="out-in" class="view" >
        <router-view></router-view>
    </transition>
</template>
<script>
import store from "src/store/index";
import "swiper/dist/css/swiper.min.css";
export default {
  data() {
    return {
      loading_num: 0
    };
  },
  mounted() {
    this.appShow();
  },
  methods: {
    appShow() {
      const END_TIME = new Date().getTime(); //结束时间
      const diffTime = END_TIME - PAGE_START_TIME;
      const timer = setTimeout(() => {
        clearTimeout(timer);
      }, diffTime > 2000 ? 0 : 2000 - diffTime);
    }
  }
};
</script>
<style lang="less">
@import url("~assets/less/_mixins.less");
</style>